﻿using System.Runtime.InteropServices;
using System.Text;

namespace pinlib.functions
{
    internal class Kernel32Native
    {
        /*
       AcquireSRWLockExclusive (forwarded to NTDLL.RtlAcquireSRWLockExclusive)
       AcquireSRWLockShared (forwarded to NTDLL.RtlAcquireSRWLockShared)
       ActivateActCtx
       AddAtomA
       AddAtomW
       AddConsoleAliasA
       AddConsoleAliasW
       AddIntegrityLabelToBoundaryDescriptor
       AddLocalAlternateComputerNameA
       AddLocalAlternateComputerNameW
       AddRefActCtx
       AddSIDToBoundaryDescriptor
       AddSecureMemoryCacheCallback
       AddVectoredContinueHandler (forwarded to NTDLL.RtlAddVectoredContinueHandler)
       AddVectoredExceptionHandler (forwarded to NTDLL.RtlAddVectoredExceptionHandler)
       AdjustCalendarDate
       AllocConsole
       AllocateUserPhysicalPages
       AllocateUserPhysicalPagesNuma
       ApplicationRecoveryFinished
       ApplicationRecoveryInProgress
       AreFileApisANSI
       AssignProcessToJobObject
       AttachConsole
       BackupRead
       BackupSeek
       BackupWrite
       BaseCheckAppcompatCache
       BaseCheckAppcompatCacheEx
       BaseCheckRunApp
       BaseCleanupAppcompatCacheSupport
       BaseDllReadWriteIniFile
       BaseDumpAppcompatCache
       BaseFlushAppcompatCache
       BaseFormatObjectAttributes
       BaseFormatTimeOut
       BaseGenerateAppCompatData
       BaseGetNamedObjectDirectory
       BaseInitAppcompatCacheSupport
       BaseIsAppcompatInfrastructureDisabled
       BaseQueryModuleData
       BaseSetLastNTError
       BaseThreadInitThunk
       BaseUpdateAppcompatCache
       BaseVerifyUnicodeString
       Basep8BitStringToDynamicUnicodeString
       BasepAllocateActivationContextActivationBlock
       BasepAnsiStringToDynamicUnicodeString
       BasepCheckAppCompat
       BasepCheckBadapp
       BasepCheckWinSaferRestrictions
       BasepFreeActivationContextActivationBlock
       BasepFreeAppCompatData
       BasepMapModuleHandle
       Beep
       BeginUpdateResourceA
       BeginUpdateResourceW
       BindIoCompletionCallback
       BuildCommDCBA
       BuildCommDCBAndTimeoutsA
       BuildCommDCBAndTimeoutsW
       BuildCommDCBW
       CallNamedPipeA
       CallNamedPipeW
       CallbackMayRunLong
       CancelDeviceWakeupRequest
       CancelIo
       CancelIoEx
       CancelSynchronousIo
       CancelThreadpoolIo (forwarded to NTDLL.TpCancelAsyncIoOperation)
       CancelTimerQueueTimer
       CancelWaitableTimer
       ChangeTimerQueueTimer
       CheckElevation
       CheckElevationEnabled
       CheckForReadOnlyResource
       CheckNameLegalDOS8Dot3A
       CheckNameLegalDOS8Dot3W
       CheckRemoteDebuggerPresent
       ClearCommBreak
       ClearCommError
       CloseConsoleHandle
       CloseHandle
       ClosePrivateNamespace
       CloseProfileUserMapping
       CloseThreadpool (forwarded to NTDLL.TpReleasePool)
       CloseThreadpoolCleanupGroup (forwarded to NTDLL.TpReleaseCleanupGroup)
       CloseThreadpoolCleanupGroupMembers (forwarded to NTDLL.TpReleaseCleanupGroupMembers)
       CloseThreadpoolIo (forwarded to NTDLL.TpReleaseIoCompletion)
       CloseThreadpoolTimer (forwarded to NTDLL.TpReleaseTimer)
       CloseThreadpoolWait (forwarded to NTDLL.TpReleaseWait)
       CloseThreadpoolWork (forwarded to NTDLL.TpReleaseWork)
       CmdBatNotification
       CommConfigDialogA
       CommConfigDialogW
       CompareCalendarDates
       CompareFileTime
       CompareStringA
       CompareStringEx
       CompareStringOrdinal
       CompareStringW
       ConnectNamedPipe
       ConsoleMenuControl
       ContinueDebugEvent
       ConvertCalDateTimeToSystemTime
       ConvertDefaultLocale
       ConvertFiberToThread
       ConvertNLSDayOfWeekToWin32DayOfWeek
       ConvertSystemTimeToCalDateTime
       ConvertThreadToFiber
       ConvertThreadToFiberEx
       CopyContext
       CopyFileA
       CopyFileExA
       CopyFileExW
       CopyFileTransactedA
       CopyFileTransactedW
       CopyFileW
       CopyLZFile
       CreateActCtxA
       CreateActCtxW
       CreateBoundaryDescriptorA
       CreateBoundaryDescriptorW
       CreateConsoleScreenBuffer
       CreateDirectoryA
       CreateDirectoryExA
       CreateDirectoryExW
       CreateDirectoryTransactedA
       CreateDirectoryTransactedW
       CreateDirectoryW
       CreateEventA
       CreateEventExA
       CreateEventExW
       CreateEventW
       CreateFiber
       CreateFiberEx
       CreateFileA
       CreateFileMappingA
       CreateFileMappingNumaA
       CreateFileMappingNumaW
       CreateFileMappingW
       CreateFileTransactedA
       CreateFileTransactedW
       CreateFileW
       CreateHardLinkA
       CreateHardLinkTransactedA
       CreateHardLinkTransactedW
       CreateHardLinkW
       CreateIoCompletionPort
       CreateJobObjectA
       CreateJobObjectW
       CreateJobSet
       CreateMailslotA
       CreateMailslotW
       CreateMemoryResourceNotification
       CreateMutexA
       CreateMutexExA
       CreateMutexExW
       CreateMutexW
       CreateNamedPipeA
       CreateNamedPipeW
       CreatePipe
       CreatePrivateNamespaceA
       CreatePrivateNamespaceW
       CreateProcessA
       CreateProcessAsUserW
       CreateProcessInternalA
       CreateProcessInternalW
       CreateProcessW
       CreateRemoteThread
       CreateRemoteThreadEx (forwarded to api-ms-win-core-processthreads-l1-1-0.CreateRemoteThreadEx)
       CreateSemaphoreA
       CreateSemaphoreExA
       CreateSemaphoreExW
       CreateSemaphoreW
       CreateSocketHandle
       CreateSymbolicLinkA
       CreateSymbolicLinkTransactedA
       CreateSymbolicLinkTransactedW
       CreateSymbolicLinkW
       CreateTapePartition
       CreateThread
       CreateThreadpool
       CreateThreadpoolCleanupGroup
       CreateThreadpoolIo
       CreateThreadpoolTimer
       CreateThreadpoolWait
       CreateThreadpoolWork
       CreateTimerQueue
       CreateTimerQueueTimer
       CreateToolhelp32Snapshot
       CreateWaitableTimerA
       CreateWaitableTimerExA
       CreateWaitableTimerExW
       CreateWaitableTimerW
       CtrlRoutine
       DeactivateActCtx
       DebugActiveProcess
       DebugActiveProcessStop
       DebugBreak
       DebugBreakProcess
       DebugSetProcessKillOnExit
       DecodePointer (forwarded to NTDLL.RtlDecodePointer)
       DecodeSystemPointer (forwarded to NTDLL.RtlDecodeSystemPointer)
       DefineDosDeviceA
       DefineDosDeviceW
       DelayLoadFailureHook
       DeleteAtom
       DeleteBoundaryDescriptor (forwarded to NTDLL.RtlDeleteBoundaryDescriptor)
       DeleteCriticalSection (forwarded to NTDLL.RtlDeleteCriticalSection)
       DeleteFiber
       DeleteFileA
       DeleteFileTransactedA
       DeleteFileTransactedW
       DeleteFileW
       DeleteProcThreadAttributeList (forwarded to api-ms-win-core-processthreads-l1-1-0.DeleteProcThreadAttributeList)
       DeleteTimerQueue
       DeleteTimerQueueEx
       DeleteTimerQueueTimer
       DeleteVolumeMountPointA
       DeleteVolumeMountPointW
       DeviceIoControl
       DisableThreadLibraryCalls
       DisableThreadProfiling
       DisassociateCurrentThreadFromCallback (forwarded to NTDLL.TpDisassociateCallback)
       DisconnectNamedPipe
       DnsHostnameToComputerNameA
       DnsHostnameToComputerNameW
       DosDateTimeToFileTime
       DosPathToSessionPathA
       DosPathToSessionPathW
       DuplicateConsoleHandle
       DuplicateHandle
       EnableThreadProfiling
       EncodePointer (forwarded to NTDLL.RtlEncodePointer)
       EncodeSystemPointer (forwarded to NTDLL.RtlEncodeSystemPointer)
       EndUpdateResourceA
       EndUpdateResourceW
       EnterCriticalSection (forwarded to NTDLL.RtlEnterCriticalSection)
       EnumCalendarInfoA
       EnumCalendarInfoExA
       EnumCalendarInfoExEx
       EnumCalendarInfoExW
       EnumCalendarInfoW
       EnumDateFormatsA
       EnumDateFormatsExA
       EnumDateFormatsExEx
       EnumDateFormatsExW
       EnumDateFormatsW
       EnumLanguageGroupLocalesA
       EnumLanguageGroupLocalesW
       EnumResourceLanguagesA
       EnumResourceLanguagesExA
       EnumResourceLanguagesExW
       EnumResourceLanguagesW
       EnumResourceNamesA
       EnumResourceNamesExA
       EnumResourceNamesExW
       EnumResourceNamesW
       EnumResourceTypesA
       EnumResourceTypesExA
       EnumResourceTypesExW
       EnumResourceTypesW
       EnumSystemCodePagesA
       EnumSystemCodePagesW
       EnumSystemFirmwareTables
       EnumSystemGeoID
       EnumSystemLanguageGroupsA
       EnumSystemLanguageGroupsW
       EnumSystemLocalesA
       EnumSystemLocalesEx
       EnumSystemLocalesW
       EnumTimeFormatsA
       EnumTimeFormatsEx
       EnumTimeFormatsW
       EnumUILanguagesA
       EnumUILanguagesW
       EnumerateLocalComputerNamesA
       EnumerateLocalComputerNamesW
       EraseTape
       EscapeCommFunction
       ExitProcess
       ExitThread (forwarded to NTDLL.RtlExitUserThread)
       ExitVDM
       ExpandEnvironmentStringsA
       ExpandEnvironmentStringsW
       ExpungeConsoleCommandHistoryA
       ExpungeConsoleCommandHistoryW
       FatalAppExitA
       FatalAppExitW
       FatalExit
       FileTimeToDosDateTime
       FileTimeToLocalFileTime
       FileTimeToSystemTime
       FillConsoleOutputAttribute
       FillConsoleOutputCharacterA
       FillConsoleOutputCharacterW
       FindActCtxSectionGuid
       FindActCtxSectionStringA
       FindActCtxSectionStringW
       FindAtomA
       FindAtomW
       FindClose
       FindCloseChangeNotification
       FindFirstChangeNotificationA
       FindFirstChangeNotificationW
       FindFirstFileA
       FindFirstFileExA
       FindFirstFileExW
       FindFirstFileNameTransactedW
       FindFirstFileNameW
       FindFirstFileTransactedA
       FindFirstFileTransactedW
       FindFirstFileW
       FindFirstStreamTransactedW
       FindFirstStreamW
       FindFirstVolumeA
       FindFirstVolumeMountPointA
       FindFirstVolumeMountPointW
       FindFirstVolumeW
       FindNLSString
       FindNLSStringEx
       FindNextChangeNotification
       FindNextFileA
       FindNextFileNameW
       FindNextFileW
       FindNextStreamW
       FindNextVolumeA
       FindNextVolumeMountPointA
       FindNextVolumeMountPointW
       FindNextVolumeW
       FindResourceA
       FindResourceExA
       FindResourceExW
       FindResourceW
       FindStringOrdinal
       FindVolumeClose
       FindVolumeMountPointClose
       FlsAlloc
       FlsFree
       FlsGetValue
       FlsSetValue
       FlushConsoleInputBuffer
       FlushFileBuffers
       FlushInstructionCache
       FlushProcessWriteBuffers (forwarded to NTDLL.NtFlushProcessWriteBuffers)
       FlushViewOfFile
       FoldStringA
       FoldStringW
       FormatMessageA
       FormatMessageW
       FreeConsole
       FreeEnvironmentStringsA
       FreeEnvironmentStringsW
       FreeLibrary
       FreeLibraryAndExitThread
       FreeLibraryWhenCallbackReturns (forwarded to NTDLL.TpCallbackUnloadDllOnCompletion)
       FreeResource
       FreeUserPhysicalPages
       GenerateConsoleCtrlEvent
       GetACP
       GetActiveProcessorCount
       GetActiveProcessorGroupCount
       GetApplicationRecoveryCallback
       GetApplicationRestartSettings
       GetAtomNameA
       GetAtomNameW
       GetBinaryType
       GetBinaryTypeA
       GetBinaryTypeW
       GetCPInfo
       GetCPInfoExA
       GetCPInfoExW
       GetCalendarDateFormat
       GetCalendarDateFormatEx
       GetCalendarDaysInMonth
       GetCalendarDifferenceInDays
       GetCalendarInfoA
       GetCalendarInfoEx
       GetCalendarInfoW
       GetCalendarMonthsInYear
       GetCalendarSupportedDateRange
       GetCalendarWeekNumber
       GetComPlusPackageInstallStatus
       GetCommConfig
       GetCommMask
       GetCommModemStatus
       GetCommProperties
       GetCommState
       GetCommTimeouts
       GetCommandLineA
       GetCommandLineW
       GetCompressedFileSizeA
       GetCompressedFileSizeTransactedA
       GetCompressedFileSizeTransactedW
       GetCompressedFileSizeW
       GetComputerNameA
       GetComputerNameExA
       GetComputerNameExW
       GetComputerNameW
       GetConsoleAliasA
       GetConsoleAliasExesA
       GetConsoleAliasExesLengthA
       GetConsoleAliasExesLengthW
       GetConsoleAliasExesW
       GetConsoleAliasW
       GetConsoleAliasesA
       GetConsoleAliasesLengthA
       GetConsoleAliasesLengthW
       GetConsoleAliasesW
       GetConsoleCP
       GetConsoleCharType
       GetConsoleCommandHistoryA
       GetConsoleCommandHistoryLengthA
       GetConsoleCommandHistoryLengthW
       GetConsoleCommandHistoryW
       GetConsoleCursorInfo
       GetConsoleCursorMode
       GetConsoleDisplayMode
       GetConsoleFontInfo
       GetConsoleFontSize
       GetConsoleHardwareState
       GetConsoleHistoryInfo
       GetConsoleInputExeNameA
       GetConsoleInputExeNameW
       GetConsoleInputWaitHandle
       GetConsoleKeyboardLayoutNameA
       GetConsoleKeyboardLayoutNameW
       GetConsoleMode
       GetConsoleNlsMode
       GetConsoleOriginalTitleA
       GetConsoleOriginalTitleW
       GetConsoleOutputCP
       GetConsoleProcessList
       GetConsoleScreenBufferInfo
       GetConsoleScreenBufferInfoEx
       GetConsoleSelectionInfo
       GetConsoleTitleA
       GetConsoleTitleW
       GetConsoleWindow
       GetCurrencyFormatA
       GetCurrencyFormatEx
       GetCurrencyFormatW
       GetCurrentActCtx
       GetCurrentConsoleFont
       GetCurrentConsoleFontEx
       GetCurrentDirectoryA
       GetCurrentDirectoryW
       GetCurrentProcess
       GetCurrentProcessId
       GetCurrentProcessorNumber (forwarded to NTDLL.RtlGetCurrentProcessorNumber)
       GetCurrentProcessorNumberEx (forwarded to NTDLL.RtlGetCurrentProcessorNumberEx)
       GetCurrentThread
       GetCurrentThreadId
       GetDateFormatA
       GetDateFormatEx
       GetDateFormatW
       GetDefaultCommConfigA
       GetDefaultCommConfigW
       GetDevicePowerState
       GetDiskFreeSpaceA
       GetDiskFreeSpaceExA
       GetDiskFreeSpaceExW
       GetDiskFreeSpaceW
       GetDllDirectoryA
       GetDllDirectoryW
       GetDriveTypeA
       GetDriveTypeW
       GetDurationFormat
       GetDurationFormatEx
       GetDynamicTimeZoneInformation
       GetEnabledXStateFeatures
       GetEnvironmentStrings
       GetEnvironmentStringsA
       GetEnvironmentStringsW
       GetEnvironmentVariableA
       GetEnvironmentVariableW
       GetEraNameCountedString
       GetErrorMode
       GetExitCodeProcess
       GetExitCodeThread
       GetExpandedNameA
       GetExpandedNameW
       GetFileAttributesA
       GetFileAttributesExA
       GetFileAttributesExW
       GetFileAttributesTransactedA
       GetFileAttributesTransactedW
       GetFileAttributesW
       GetFileBandwidthReservation
       GetFileInformationByHandle
       GetFileInformationByHandleEx
       GetFileMUIInfo
       GetFileMUIPath
       GetFileSize
       GetFileSizeEx
       GetFileTime
       GetFileType
       GetFinalPathNameByHandleA
       GetFinalPathNameByHandleW
       GetFirmwareEnvironmentVariableA
       GetFirmwareEnvironmentVariableW
       GetFullPathNameA
       GetFullPathNameTransactedA
       GetFullPathNameTransactedW
       GetFullPathNameW
       GetGeoInfoA
       GetGeoInfoW
       GetHandleContext
       GetHandleInformation
       GetLargePageMinimum
       GetLargestConsoleWindowSize
       GetLastError
       GetLocalTime
       GetLocaleInfoA
       GetLocaleInfoEx
       GetLocaleInfoW
       GetLogicalDriveStringsA
       GetLogicalDriveStringsW
       GetLogicalDrives
       GetLogicalProcessorInformation
       GetLogicalProcessorInformationEx (forwarded to api-ms-win-core-sysinfo-l1-1-0.GetLogicalProcessorInformationEx)
       GetLongPathNameA
       GetLongPathNameTransactedA
       GetLongPathNameTransactedW
       GetLongPathNameW
       GetMailslotInfo
       GetMaximumProcessorCount
       GetMaximumProcessorGroupCount
       GetModuleFileNameA
       GetModuleFileNameW
       GetModuleHandleA
       GetModuleHandleExA
       GetModuleHandleExW
       GetModuleHandleW
       GetNLSVersion
       GetNLSVersionEx
       GetNamedPipeAttribute
       GetNamedPipeClientComputerNameA
       GetNamedPipeClientComputerNameW
       GetNamedPipeClientProcessId
       GetNamedPipeClientSessionId
       GetNamedPipeHandleStateA
       GetNamedPipeHandleStateW
       GetNamedPipeInfo
       GetNamedPipeServerProcessId
       GetNamedPipeServerSessionId
       GetNativeSystemInfo
       GetNextVDMCommand
       GetNumaAvailableMemoryNode
       GetNumaAvailableMemoryNodeEx
       GetNumaHighestNodeNumber
       GetNumaNodeNumberFromHandle
       GetNumaNodeProcessorMask
       GetNumaNodeProcessorMaskEx
       GetNumaProcessorNode
       GetNumaProcessorNodeEx
       GetNumaProximityNode
       GetNumaProximityNodeEx
       GetNumberFormatA
       GetNumberFormatEx
       GetNumberFormatW
       GetNumberOfConsoleFonts
       GetNumberOfConsoleInputEvents
       GetNumberOfConsoleMouseButtons
       GetOEMCP
       GetOverlappedResult
       GetPhysicallyInstalledSystemMemory
       GetPriorityClass
       GetPrivateProfileIntA
       GetPrivateProfileIntW
       GetPrivateProfileSectionA
       GetPrivateProfileSectionNamesA
       GetPrivateProfileSectionNamesW
       GetPrivateProfileSectionW
       */


        [DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)]
        internal static extern int GetPrivateProfileString(string lpAppName, string lpKeyName, string lpDefault, StringBuilder lpReturnedString, int nSize, string lpFileName);


        /*
        GetPrivateProfileStructA
        GetPrivateProfileStructW
        GetProcAddress
        GetProcessAffinityMask
        GetProcessDEPPolicy
        GetProcessGroupAffinity
        GetProcessHandleCount
        GetProcessHeap
        GetProcessHeaps
        GetProcessId
        GetProcessIdOfThread
        GetProcessIoCounters
        GetProcessPreferredUILanguages
        GetProcessPriorityBoost
        GetProcessShutdownParameters
        GetProcessTimes
        GetProcessUserModeExceptionPolicy
        GetProcessVersion
        GetProcessWorkingSetSize
        GetProcessWorkingSetSizeEx
        GetProcessorSystemCycleTime
        GetProductInfo
        GetProfileIntA
        GetProfileIntW
        GetProfileSectionA
        GetProfileSectionW
        GetProfileStringA
        GetProfileStringW
        GetQueuedCompletionStatus
        GetQueuedCompletionStatusEx
        GetShortPathNameA
        GetShortPathNameW
        GetStartupInfoA
        GetStartupInfoW
        GetStdHandle
        GetStringScripts
        GetStringTypeA
        GetStringTypeExA
        GetStringTypeExW
        GetStringTypeW
        GetSystemDEPPolicy
        GetSystemDefaultLCID
        GetSystemDefaultLangID
        GetSystemDefaultLocaleName
        GetSystemDefaultUILanguage
        GetSystemDirectoryA
        GetSystemDirectoryW
        GetSystemFileCacheSize
        GetSystemFirmwareTable
        GetSystemInfo
        GetSystemPowerStatus
        GetSystemPreferredUILanguages
        GetSystemRegistryQuota
        GetSystemTime
        GetSystemTimeAdjustment
        GetSystemTimeAsFileTime
        GetSystemTimes
        GetSystemWindowsDirectoryA
        GetSystemWindowsDirectoryW
        GetSystemWow64DirectoryA
        GetSystemWow64DirectoryW
        GetTapeParameters
        GetTapePosition
        GetTapeStatus
        GetTempFileNameA
        GetTempFileNameW
        GetTempPathA
        GetTempPathW
        GetThreadContext
        GetThreadErrorMode
        GetThreadGroupAffinity
        GetThreadIOPendingFlag
        GetThreadId
        GetThreadIdealProcessorEx
        GetThreadLocale
        GetThreadPreferredUILanguages
        GetThreadPriority
        GetThreadPriorityBoost
        GetThreadSelectorEntry
        GetThreadTimes
        GetThreadUILanguage
        GetTickCount
        GetTickCount64
        GetTimeFormatA
        GetTimeFormatEx
        GetTimeFormatW
        GetTimeZoneInformation
        GetTimeZoneInformationForYear
        GetUILanguageInfo
        GetUserDefaultLCID
        GetUserDefaultLangID
        GetUserDefaultLocaleName
        GetUserDefaultUILanguage
        GetUserGeoID
        GetUserPreferredUILanguages
        GetVDMCurrentDirectories
        GetVersion
        GetVersionExA
        GetVersionExW
        GetVolumeInformationA
        GetVolumeInformationByHandleW
        GetVolumeInformationW
        GetVolumeNameForVolumeMountPointA
        GetVolumeNameForVolumeMountPointW
        GetVolumePathNameA
        GetVolumePathNameW
        GetVolumePathNamesForVolumeNameA
        GetVolumePathNamesForVolumeNameW
        GetWindowsDirectoryA
        GetWindowsDirectoryW
        GetWriteWatch
        GetXStateFeaturesMask
        GlobalAddAtomA
        GlobalAddAtomW
        GlobalAlloc
        GlobalCompact
        GlobalDeleteAtom
        GlobalFindAtomA
        GlobalFindAtomW
        GlobalFix
        GlobalFlags
        GlobalFree
        GlobalGetAtomNameA
        GlobalGetAtomNameW
        GlobalHandle
        GlobalLock
        GlobalMemoryStatus
        GlobalMemoryStatusEx
        GlobalReAlloc
        GlobalSize
        GlobalUnWire
        GlobalUnfix
        GlobalUnlock
        GlobalWire
        Heap32First
        Heap32ListFirst
        Heap32ListNext
        Heap32Next
        HeapAlloc (forwarded to NTDLL.RtlAllocateHeap)
        HeapCompact
        HeapCreate
        HeapDestroy
        HeapFree
        HeapLock
        HeapQueryInformation
        HeapReAlloc (forwarded to NTDLL.RtlReAllocateHeap)
        HeapSetInformation
        HeapSize (forwarded to NTDLL.RtlSizeHeap)
        HeapSummary
        HeapUnlock
        HeapValidate
        HeapWalk
        IdnToAscii
        IdnToNameprepUnicode
        IdnToUnicode
        InitAtomTable
        InitOnceBeginInitialize
        InitOnceComplete
        InitOnceExecuteOnce
        InitOnceInitialize (forwarded to NTDLL.RtlRunOnceInitialize)
        InitializeConditionVariable (forwarded to NTDLL.RtlInitializeConditionVariable)
        InitializeContext
        InitializeCriticalSection (forwarded to NTDLL.RtlInitializeCriticalSection)
        InitializeCriticalSectionAndSpinCount
        InitializeCriticalSectionEx
        InitializeProcThreadAttributeList (forwarded to api-ms-win-core-processthreads-l1-1-0.InitializeProcThreadAttributeLi
        InitializeSListHead (forwarded to NTDLL.RtlInitializeSListHead)
        InitializeSRWLock (forwarded to NTDLL.RtlInitializeSRWLock)
        InterlockedCompareExchange
        InterlockedCompareExchange64 (forwarded to NTDLL.RtlInterlockedCompareExchange64)
        InterlockedDecrement
        InterlockedExchange
        InterlockedExchangeAdd
        InterlockedFlushSList (forwarded to NTDLL.RtlInterlockedFlushSList)
        InterlockedIncrement
        InterlockedPopEntrySList (forwarded to NTDLL.RtlInterlockedPopEntrySList)
        InterlockedPushEntrySList (forwarded to NTDLL.RtlInterlockedPushEntrySList)
        InterlockedPushListSList (forwarded to NTDLL.RtlInterlockedPushListSList)
        InvalidateConsoleDIBits
        IsBadCodePtr
        IsBadHugeReadPtr
        IsBadHugeWritePtr
        IsBadReadPtr
        IsBadStringPtrA
        IsBadStringPtrW
        IsBadWritePtr
        IsCalendarLeapDay
        IsCalendarLeapMonth
        IsCalendarLeapYear
        IsDBCSLeadByte
        IsDBCSLeadByteEx
        IsDebuggerPresent
        IsNLSDefinedString
        IsNormalizedString
        IsProcessInJob
        IsProcessorFeaturePresent
        IsSystemResumeAutomatic
        IsThreadAFiber
        IsThreadpoolTimerSet (forwarded to NTDLL.TpIsTimerSet)
        IsTimeZoneRedirectionEnabled
        IsValidCalDateTime
        IsValidCodePage
        IsValidLanguageGroup
        IsValidLocale
        IsValidLocaleName
        IsWow64Process
        K32EmptyWorkingSet
        K32EnumDeviceDrivers
        K32EnumPageFilesA
        K32EnumPageFilesW
        K32EnumProcessModules
        K32EnumProcessModulesEx
        K32EnumProcesses
        K32GetDeviceDriverBaseNameA
        K32GetDeviceDriverBaseNameW
        K32GetDeviceDriverFileNameA
        K32GetDeviceDriverFileNameW
        K32GetMappedFileNameA
        K32GetMappedFileNameW
        K32GetModuleBaseNameA
        K32GetModuleBaseNameW
        K32GetModuleFileNameExA
        K32GetModuleFileNameExW
        K32GetModuleInformation
        K32GetPerformanceInfo
        K32GetProcessImageFileNameA
        K32GetProcessImageFileNameW
        K32GetProcessMemoryInfo
        K32GetWsChanges
        K32GetWsChangesEx
        K32InitializeProcessForWsWatch
        K32QueryWorkingSet
        K32QueryWorkingSetEx
        LCIDToLocaleName
        LCMapStringA
        LCMapStringEx
        LCMapStringW
        LZClose
        LZCloseFile
        LZCopy
        LZCreateFileW
        LZDone
        LZInit
        LZOpenFileA
        LZOpenFileW
        LZRead
        LZSeek
        LZStart
        LeaveCriticalSection (forwarded to NTDLL.RtlLeaveCriticalSection)
        LeaveCriticalSectionWhenCallbackReturns (forwarded to NTDLL.TpCallbackLeaveCriticalSectionOnCompletion)
        LoadAppInitDlls
        LoadLibraryA
        LoadLibraryExA
        LoadLibraryExW
        LoadLibraryW
        LoadModule
        LoadResource
        LoadStringBaseExW
        LoadStringBaseW
        LocalAlloc
        LocalCompact
        LocalFileTimeToFileTime
        LocalFlags
        LocalFree
        LocalHandle
        LocalLock
        LocalReAlloc
        LocalShrink
        LocalSize
        LocalUnlock
        LocaleNameToLCID
        LocateXStateFeature
        LockFile
        LockFileEx
        LockResource
        MapUserPhysicalPages
        MapUserPhysicalPagesScatter
        MapViewOfFile
        MapViewOfFileEx
        MapViewOfFileExNuma
        Module32First
        Module32FirstW
        Module32Next
        Module32NextW
        MoveFileA
        MoveFileExA
        MoveFileExW
        MoveFileTransactedA
        MoveFileTransactedW
        MoveFileW
        MoveFileWithProgressA
        MoveFileWithProgressW
        MulDiv
        MultiByteToWideChar
        NeedCurrentDirectoryForExePathA
        NeedCurrentDirectoryForExePathW
        NlsCheckPolicy
        NlsEventDataDescCreate
        NlsGetCacheUpdateCount
        NlsUpdateLocale
        NlsUpdateSystemLocale
        NlsWriteEtwEvent
        NormalizeString
        NotifyMountMgr
        NotifyUILanguageChange
        OpenConsoleW
        OpenEventA
        OpenEventW
        OpenFile
        OpenFileById
        OpenFileMappingA
        OpenFileMappingW
        OpenJobObjectA
        OpenJobObjectW
        OpenMutexA
        OpenMutexW
        OpenPrivateNamespaceA
        OpenPrivateNamespaceW
        OpenProcess
        OpenProcessToken (forwarded to api-ms-win-core-processthreads-l1-1-0.OpenProcessToken)
        OpenProfileUserMapping
        OpenSemaphoreA
        OpenSemaphoreW
        OpenThread
        OpenThreadToken (forwarded to api-ms-win-core-processthreads-l1-1-0.OpenThreadToken)
        OpenWaitableTimerA
        OpenWaitableTimerW
        OutputDebugStringA
        OutputDebugStringW
        PeekConsoleInputA
        PeekConsoleInputW
        PeekNamedPipe
        PostQueuedCompletionStatus
        PowerClearRequest
        PowerCreateRequest
        PowerSetRequest
        PrepareTape
        PrivCopyFileExW
        PrivMoveFileIdentityW
        Process32First
        Process32FirstW
        Process32Next
        Process32NextW
        ProcessIdToSessionId
        PulseEvent
        PurgeComm
        QueryActCtxSettingsW
        QueryActCtxW
        QueryDepthSList (forwarded to NTDLL.RtlQueryDepthSList)
        QueryDosDeviceA
        QueryDosDeviceW
        QueryFullProcessImageNameA
        QueryFullProcessImageNameW
        QueryIdleProcessorCycleTime
        QueryIdleProcessorCycleTimeEx
        QueryInformationJobObject
        QueryMemoryResourceNotification
        QueryPerformanceCounter
        QueryPerformanceFrequency
        QueryProcessAffinityUpdateMode
        QueryProcessCycleTime
        QueryThreadCycleTime
        QueryThreadProfiling
        QueryThreadpoolStackInformation
        QueryUnbiasedInterruptTime
        QueueUserAPC
        QueueUserWorkItem
        RaiseException
        RaiseFailFastException
        ReOpenFile
        ReadConsoleA
        ReadConsoleInputA
        ReadConsoleInputExA
        ReadConsoleInputExW
        ReadConsoleInputW
        ReadConsoleOutputA
        ReadConsoleOutputAttribute
        ReadConsoleOutputCharacterA
        ReadConsoleOutputCharacterW
        ReadConsoleOutputW
        ReadConsoleW
        ReadDirectoryChangesW
        ReadFile
        ReadFileEx
        ReadFileScatter
        ReadProcessMemory
        ReadThreadProfilingData
        RegCloseKey
        RegCreateKeyExA
        RegCreateKeyExW
        RegDeleteKeyExA
        RegDeleteKeyExW
        RegDeleteTreeA
        RegDeleteTreeW
        RegDeleteValueA
        RegDeleteValueW
        RegDisablePredefinedCacheEx
        RegEnumKeyExA
        RegEnumKeyExW
        RegEnumValueA
        RegEnumValueW
        RegFlushKey
        RegGetKeySecurity
        RegGetValueA
        RegGetValueW
        RegKrnGetGlobalState
        RegKrnInitialize
        RegLoadKeyA
        RegLoadKeyW
        RegLoadMUIStringA
        RegLoadMUIStringW
        RegNotifyChangeKeyValue
        RegOpenCurrentUser
        RegOpenKeyExA
        RegOpenKeyExW
        RegOpenUserClassesRoot
        RegQueryInfoKeyA
        RegQueryInfoKeyW
        RegQueryValueExA
        RegQueryValueExW
        RegRestoreKeyA
        RegRestoreKeyW
        RegSaveKeyExA
        RegSaveKeyExW
        RegSetKeySecurity
        RegSetValueExA
        RegSetValueExW
        RegUnLoadKeyA
        RegUnLoadKeyW
        RegisterApplicationRecoveryCallback
        RegisterApplicationRestart
        RegisterConsoleIME
        RegisterConsoleOS2
        RegisterConsoleVDM
        RegisterWaitForInputIdle
        RegisterWaitForSingleObject
        RegisterWaitForSingleObjectEx
        RegisterWowBaseHandlers
        RegisterWowExec
        ReleaseActCtx
        ReleaseMutex
        ReleaseMutexWhenCallbackReturns (forwarded to NTDLL.TpCallbackReleaseMutexOnCompletion)
        ReleaseSRWLockExclusive (forwarded to NTDLL.RtlReleaseSRWLockExclusive)
        ReleaseSRWLockShared (forwarded to NTDLL.RtlReleaseSRWLockShared)
        ReleaseSemaphore
        ReleaseSemaphoreWhenCallbackReturns (forwarded to NTDLL.TpCallbackReleaseSemaphoreOnCompletion)
        RemoveDirectoryA
        RemoveDirectoryTransactedA
        RemoveDirectoryTransactedW
        RemoveDirectoryW
        RemoveLocalAlternateComputerNameA
        RemoveLocalAlternateComputerNameW
        RemoveSecureMemoryCacheCallback
        RemoveVectoredContinueHandler (forwarded to NTDLL.RtlRemoveVectoredContinueHandler)
        RemoveVectoredExceptionHandler (forwarded to NTDLL.RtlRemoveVectoredExceptionHandler)
        ReplaceFile
        ReplaceFileA
        ReplaceFileW
        ReplacePartitionUnit
        RequestDeviceWakeup
        RequestWakeupLatency
        ResetEvent
        ResetWriteWatch
        ResolveLocaleName
        RestoreLastError (forwarded to NTDLL.RtlRestoreLastWin32Error)
        ResumeThread
        RtlCaptureContext
        RtlCaptureStackBackTrace
        RtlFillMemory
        RtlMoveMemory (forwarded to NTDLL.RtlMoveMemory)
        RtlUnwind
        RtlZeroMemory (forwarded to NTDLL.RtlZeroMemory)
        ScrollConsoleScreenBufferA
        ScrollConsoleScreenBufferW
        SearchPathA
        SearchPathW
        SetCalendarInfoA
        SetCalendarInfoW
        SetClientTimeZoneInformation
        SetComPlusPackageInstallStatus
        SetCommBreak
        SetCommConfig
        SetCommMask
        SetCommState
        SetCommTimeouts
        SetComputerNameA
        SetComputerNameExA
        SetComputerNameExW
        SetComputerNameW
        SetConsoleActiveScreenBuffer
        SetConsoleCP
        SetConsoleCtrlHandler
        SetConsoleCursor
        SetConsoleCursorInfo
        SetConsoleCursorMode
        SetConsoleCursorPosition
        SetConsoleDisplayMode
        SetConsoleFont
        SetConsoleHardwareState
        SetConsoleHistoryInfo
        SetConsoleIcon
        SetConsoleInputExeNameA
        SetConsoleInputExeNameW
        SetConsoleKeyShortcuts
        SetConsoleLocalEUDC
        SetConsoleMaximumWindowSize
        SetConsoleMenuClose
        SetConsoleMode
        SetConsoleNlsMode
        SetConsoleNumberOfCommandsA
        SetConsoleNumberOfCommandsW
        SetConsoleOS2OemFormat
        SetConsoleOutputCP
        SetConsolePalette
        SetConsoleScreenBufferInfoEx
        SetConsoleScreenBufferSize
        SetConsoleTextAttribute
        SetConsoleTitleA
        SetConsoleTitleW
        SetConsoleWindowInfo
        SetCriticalSectionSpinCount (forwarded to NTDLL.RtlSetCriticalSectionSpinCount)
        SetCurrentConsoleFontEx
        SetCurrentDirectoryA
        SetCurrentDirectoryW
        SetDefaultCommConfigA
        SetDefaultCommConfigW
        SetDllDirectoryA
        SetDllDirectoryW
        SetDynamicTimeZoneInformation
        SetEndOfFile
        SetEnvironmentStringsA
        SetEnvironmentStringsW
        SetEnvironmentVariableA
        SetEnvironmentVariableW
        SetErrorMode
        SetEvent
        SetEventWhenCallbackReturns (forwarded to NTDLL.TpCallbackSetEventOnCompletion)
        SetFileApisToANSI
        SetFileApisToOEM
        SetFileAttributesA
        SetFileAttributesTransactedA
        SetFileAttributesTransactedW
        SetFileAttributesW
        SetFileBandwidthReservation
        SetFileCompletionNotificationModes
        SetFileInformationByHandle
        SetFileIoOverlappedRange
        SetFilePointer
        SetFilePointerEx
        SetFileShortNameA
        SetFileShortNameW
        SetFileTime
        SetFileValidData
        SetFirmwareEnvironmentVariableA
        SetFirmwareEnvironmentVariableW
        SetHandleContext
        SetHandleCount
        SetHandleInformation
        SetInformationJobObject
        SetLastConsoleEventActive
        SetLastError
        SetLocalPrimaryComputerNameA
        SetLocalPrimaryComputerNameW
        SetLocalTime
        SetLocaleInfoA
        SetLocaleInfoW
        SetMailslotInfo
        SetMessageWaitingIndicator
        SetNamedPipeAttribute
        SetNamedPipeHandleState
        SetPriorityClass
        SetProcessAffinityMask
        SetProcessAffinityUpdateMode
        SetProcessDEPPolicy
        SetProcessPreferredUILanguages
        SetProcessPriorityBoost
        SetProcessShutdownParameters
        SetProcessUserModeExceptionPolicy
        SetProcessWorkingSetSize
        SetProcessWorkingSetSizeEx
        SetSearchPathMode
        SetStdHandle
        SetStdHandleEx
        SetSystemFileCacheSize
        SetSystemPowerState
        SetSystemTime
        SetSystemTimeAdjustment
        SetTapeParameters
        SetTapePosition
        SetTermsrvAppInstallMode
        SetThreadAffinityMask
        SetThreadContext
        SetThreadErrorMode
        SetThreadExecutionState
        SetThreadGroupAffinity
        SetThreadIdealProcessor
        SetThreadIdealProcessorEx
        SetThreadLocale
        SetThreadPreferredUILanguages
        SetThreadPriority
        SetThreadPriorityBoost
        SetThreadStackGuarantee
        SetThreadToken (forwarded to api-ms-win-core-processthreads-l1-1-0.SetThreadToken)
        SetThreadUILanguage
        SetThreadpoolStackInformation
        SetThreadpoolThreadMaximum (forwarded to NTDLL.TpSetPoolMaxThreads)
        SetThreadpoolThreadMinimum
        SetThreadpoolTimer (forwarded to NTDLL.TpSetTimer)
        SetThreadpoolWait (forwarded to NTDLL.TpSetWait)
        SetTimeZoneInformation
        SetTimerQueueTimer
        SetUnhandledExceptionFilter
        SetUserGeoID
        SetVDMCurrentDirectories
        SetVolumeLabelA
        SetVolumeLabelW
        SetVolumeMountPointA
        SetVolumeMountPointW
        SetWaitableTimer
        SetWaitableTimerEx (forwarded to api-ms-win-core-threadpool-l1-1-0.SetWaitableTimerEx)
        SetXStateFeaturesMask
        SetupComm
        ShowConsoleCursor
        SignalObjectAndWait
        SizeofResource
        Sleep
        SleepConditionVariableCS
        SleepConditionVariableSRW
        SleepEx
        SortCloseHandle
        SortGetHandle
        StartThreadpoolIo (forwarded to NTDLL.TpStartAsyncIoOperation)
        SubmitThreadpoolWork (forwarded to NTDLL.TpPostWork)
        SuspendThread
        SwitchToFiber
        SwitchToThread
        SystemTimeToFileTime
        SystemTimeToTzSpecificLocalTime
        TerminateJobObject
        TerminateProcess
        TerminateThread
        TermsrvAppInstallMode
        Thread32First
        Thread32Next
        TlsAlloc
        TlsFree
        TlsGetValue
        TlsSetValue
        Toolhelp32ReadProcessMemory
        TransactNamedPipe
        TransmitCommChar
        TryAcquireSRWLockExclusive (forwarded to NTDLL.RtlTryAcquireSRWLockExclusive)
        TryAcquireSRWLockShared (forwarded to NTDLL.RtlTryAcquireSRWLockShared)
        TryEnterCriticalSection (forwarded to NTDLL.RtlTryEnterCriticalSection)
        TrySubmitThreadpoolCallback
        TzSpecificLocalTimeToSystemTime
        UTRegister
        UTUnRegister
        UnhandledExceptionFilter
        UnlockFile
        UnlockFileEx
        UnmapViewOfFile
        UnregisterApplicationRecoveryCallback
        UnregisterApplicationRestart
        UnregisterConsoleIME
        UnregisterWait
        UnregisterWaitEx
        UpdateCalendarDayOfWeek
        UpdateProcThreadAttribute (forwarded to api-ms-win-core-processthreads-l1-1-0.UpdateProcThreadAttribute)
        UpdateResourceA
        UpdateResourceW
        VDMConsoleOperation
        VDMOperationStarted
        VerLanguageNameA
        VerLanguageNameW
        VerSetConditionMask (forwarded to NTDLL.VerSetConditionMask)
        VerifyConsoleIoHandle
        VerifyScripts
        VerifyVersionInfoA
        VerifyVersionInfoW
        VirtualAlloc
        VirtualAllocEx
        VirtualAllocExNuma
        VirtualFree
        VirtualFreeEx
        VirtualLock
        VirtualProtect
        VirtualProtectEx
        VirtualQuery
        VirtualQueryEx
        VirtualUnlock
        WTSGetActiveConsoleSessionId
        WaitCommEvent
        WaitForDebugEvent
        WaitForMultipleObjects
        WaitForMultipleObjectsEx
        WaitForSingleObject
        WaitForSingleObjectEx
        WaitForThreadpoolIoCallbacks (forwarded to NTDLL.TpWaitForIoCompletion)
        WaitForThreadpoolTimerCallbacks (forwarded to NTDLL.TpWaitForTimer)
        WaitForThreadpoolWaitCallbacks (forwarded to NTDLL.TpWaitForWait)
        WaitForThreadpoolWorkCallbacks (forwarded to NTDLL.TpWaitForWork)
        WaitNamedPipeA
        WaitNamedPipeW
        WakeAllConditionVariable (forwarded to NTDLL.RtlWakeAllConditionVariable)
        WakeConditionVariable (forwarded to NTDLL.RtlWakeConditionVariable)
        WerGetFlags
        WerRegisterFile
        WerRegisterMemoryBlock
        WerRegisterRuntimeExceptionModule
        WerSetFlags
        WerUnregisterFile
        WerUnregisterMemoryBlock
        WerUnregisterRuntimeExceptionModule
        WerpCleanupMessageMapping
        WerpInitiateRemoteRecovery
        WerpNotifyLoadStringResource
        WerpNotifyLoadStringResourceEx
        WerpNotifyUseStringResource
        WerpStringLookup
        WideCharToMultiByte
        WinExec
        Wow64DisableWow64FsRedirection
        Wow64EnableWow64FsRedirection
        Wow64GetThreadContext
        Wow64GetThreadSelectorEntry
        Wow64RevertWow64FsRedirection
        Wow64SetThreadContext
        Wow64SuspendThread
        WriteConsoleA
        WriteConsoleInputA
        WriteConsoleInputVDMA
        WriteConsoleInputVDMW
        WriteConsoleInputW
        WriteConsoleOutputA
        WriteConsoleOutputAttribute
        WriteConsoleOutputCharacterA
        WriteConsoleOutputCharacterW
        WriteConsoleOutputW
        WriteConsoleW
        WriteFile
        WriteFileEx
        WriteFileGather
        WritePrivateProfileSectionA
        WritePrivateProfileSectionW
        WritePrivateProfileStringA
        WritePrivateProfileStringW
        WritePrivateProfileStructA
        WritePrivateProfileStructW
        WriteProcessMemory
        WriteProfileSectionA
        WriteProfileSectionW
        WriteProfileStringA
        WriteProfileStringW
        WriteTapemark
        ZombifyActCtx
        _hread
        _hwrite
        _lclose
        _lcreat
        _llseek
        _lopen
        _lread
        _lwrite
        lstrcat
        lstrcatA
        lstrcatW
        lstrcmp
        lstrcmpA
        lstrcmpW
        lstrcmpi
        lstrcmpiA
        lstrcmpiW
        lstrcpy
        lstrcpyA
        lstrcpyW
        lstrcpyn
        lstrcpynA
        lstrcpynW
        lstrlen
        lstrlenA
        lstrlenW
        */
    }
}